package itheima.mInterface2;

public interface Inter {
    public int num = 10;
    public final int num2 = 20;
    //public static final int num3 = 30
    int num3 = 30;  //接口中变量定义等价于上一句被注释的定义语句

    //public  Inter(){}   接口中不能有构造方法

    //public void show(){}    接口中不能有非抽象方法

    public abstract void method();

    void show();   //接口中写方法默认带了public abstract修饰符
}
